package com.ibiaoke.order.service;

import com.ibiaoke.common.base.Page;
import com.ibiaoke.customer.entity.Customer;
import com.ibiaoke.customer.entity.PtOpenGroup;
import com.ibiaoke.customer.entity.XcxOpenGroup;

import java.util.List;

public interface XcxOpenGroupService {

    XcxOpenGroup getOpenGroup(Integer id);

    List<XcxOpenGroup> checkXcxOpenGroup(String OpenCode, Integer goodId, Integer customerId);

    List<XcxOpenGroup> listXcxOpenGroup(Integer XcxGoodsId, Integer shopId,Page page);

    XcxOpenGroup getXcxOpenGroupByOpenCodeAndUserIdAndXcxGoodsId(String OpenCode, Customer customer,Integer xcxGoodsId);

    List<XcxOpenGroup> getPtOpenGroupByOpenCodeAndPtGoodsId(String OpenCode,Integer xcxGoodsId);
}
